/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.laas.jt;

/**
 *
 * @author ernestoexposito
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
       Singleton s1=Singleton.getInstance();
       System.out.println("Value s1="+s1.getValue());
       Singleton s2=Singleton.getInstance();
       s2.setValue(10);
       System.out.println("Value s1="+s1.getValue());
       System.out.println("Value s2="+s2.getValue());
    }

}
